var _n82;
var cc__extends = __extends;
var cc__importDefault = __importDefault;
Object.defineProperty(exports, "__esModule", {
  value: true
});
var $1$TimePlugIn = require("TimePlugIn");
var a = cc__importDefault($1$TimePlugIn);
var $1$gameConfig1 = require("gameConfig1");
var s = cc__importDefault($1$gameConfig1);
var $1$zqcc_frameNamespace = require("zqcc_frameNamespace");
var c = cc__importDefault($1$zqcc_frameNamespace);
var $zqcc_OverallSystem = require("zqcc_OverallSystem");
var def_userService = function (t) {
  function _ctor() {
    var e = t.call(this) || this;
    e._serviceName = "用户服务";
    e.powerKey = "user-power";
    e.coinKey = "coin-power";
    e.powerRestoresScheduleKey = "power_restores_schedule";
    e.m_Power = 5;
    e.m_Coin = 0;
    e.restoresPowerTimer = 0;
    e._Initialize();
    return e;
  }
  cc__extends(_ctor, t);
  _ctor.prototype._Initialize = function () {
    t.prototype._Initialize.call(this);
  };
  Object.defineProperty(_ctor.prototype, "power", {
    get() {
      return this.m_Power;
    },
    enumerable: false,
    configurable: true
  });
  Object.defineProperty(_ctor.prototype, "coin", {
    get() {
      return this.m_Coin;
    },
    enumerable: false,
    configurable: true
  });
  _ctor.prototype._initPower = function () {
    var t = Date.now();
    var o = $zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.infinityPowerDate);
    var n = 0 != Number($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.infinityPowerModel));
    var i = t - Number(o) >= 864e5;
    var r = $zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.changwanModelDate);
    var c = 0 != Number($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.changwanModel));
    var u = t - Number(r) >= 864e5;
    if (null != r && "" != r && c && u) {
      console.log(r);
      console.log(u);
      $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.changwanModel, 0);
      $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.changwanModelDate, t);
    }
    if (null != o && "" != o && n && i) {
      this.setPower(s.default.MAX_POWER);
      _ctor.unlockCnt = 0;
      $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.infinityPowerModel, 0);
      $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.infinityPowerDate, t);
    } else {
      var p = $zqcc_OverallSystem.sers().localStorageSrv.get(this.powerKey);
      console.log(p);
      console.log(+p);
      console.log(null != p);
      console.log("" != p);
      console.log(+p >= 0);
      if ("" === p) {
        console.log("默认体力");
        this.m_Power = s.default.MAX_POWER;
      } else if (null != p && +p >= 0) {
        this.setPower(+p);
      } else {
        console.log("恢复最大体力");
        this.m_Power = s.default.MAX_POWER;
      }
      if (this.isPowerLess()) {
        var d = a.default().getPreviousPlayDate2();
        var h = Date.now();
        var f = Math.floor((h - d) / 1e3);
        var y = Math.trunc(f / s.default.POWER_RESUME_TIME);
        this.m_Power += y;
        this.m_Power = Math.min(s.default.MAX_POWER, this.m_Power);
        console.log("离线回复体力 ", y, " 点");
      }
    }
    $zqcc_OverallSystem.sers().localStorageSrv.set(this.powerKey, this.m_Power);
    a.default().setScheduleOneSeconds(this.powerRestoresScheduleKey, this.restoresPower.bind(this));
  };
  _ctor.prototype._initCoin = function () {
    var t = $zqcc_OverallSystem.sers().localStorageSrv.get(this.coinKey);
    null != t && "" != t && (this.m_Coin = JSON.parse(t));
    $zqcc_OverallSystem.sers().localStorageSrv.set(this.coinKey, this.m_Coin);
  };
  _ctor.prototype.restoresPower = function () {
    if (this.isPowerLess()) {
      this.restoresPowerTimer++;
      if (this.restoresPowerTimer >= s.default.POWER_RESUME_TIME) {
        this.addPower();
        this.restoresPowerTimer = 0;
      }
    } else {
      this.restoresPowerTimer = 0;
    }
  };
  _ctor.prototype.setPower = function (t) {
    this.m_Power = t;
    $zqcc_OverallSystem.sers().localStorageSrv.set(this.powerKey, this.m_Power);
  };
  _ctor.prototype.addPower = function (t) {
    undefined === t && (t = 1);
    this.m_Power += t;
    !window.tt && !window.wx && this.m_Power <= 0 && (this.m_Power = s.default.MAX_POWER);
    $zqcc_OverallSystem.sers().localStorageSrv.set(this.powerKey, this.m_Power);
  };
  _ctor.prototype.enterModeDeductPower = function (t, e, o) {
    if (this.m_Power >= t) {
      this.addPower(-t);
      e && e();
    } else {
      o && o();
    }
  };
  _ctor.prototype.isPowerLess = function () {
    return this.m_Power < s.default.MAX_POWER;
  };
  _ctor.prototype.getRePowerTimer = function () {
    return s.default.POWER_RESUME_TIME - this.restoresPowerTimer;
  };
  _ctor.prototype.setCoin = function (t) {
    this.m_Coin = t;
    $zqcc_OverallSystem.sers().localStorageSrv.set(this.coinKey, this.m_Coin);
  };
  _ctor.prototype.addCoin = function (t) {
    this.m_Coin += t;
    $zqcc_OverallSystem.sers().localStorageSrv.set(this.coinKey, this.m_Coin);
  };
  _ctor.prototype.setLevel = function (t) {
    if (t > _ctor.maxLevel) {
      $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.nowLevel, _ctor.maxLevel);
    } else {
      $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.nowLevel, t);
    }
    cc.log("游戏关卡" + this.getLevel());
  };
  _ctor.prototype.getLevel = function () {
    return +$zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.nowLevel) || 1;
  };
  _ctor.prototype.setGameId = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.gameId, t);
    cc.log("当前游戏ID" + this.getGameId());
  };
  _ctor.prototype.getGameId = function () {
    return +$zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.gameId) || 0;
  };
  _ctor.prototype.setGameList = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.getGameList, t);
    cc.log("当前游戏List" + this.getGameList());
  };
  _ctor.prototype.getGameList = function () {
    return +$zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.getGameList) || 0;
  };
  _ctor.prototype.getGameLevelData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.GameLevelData) || null);
    t || (t = {
      lock: [],
      pass: []
    });
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.GameLevelData, JSON.stringify(t));
    return t;
  };
  _ctor.prototype.setGameLevelData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.GameLevelData, JSON.stringify(t));
  };
  _ctor.prototype.setGuanqiaID = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.GuanqiaID, t);
    cc.log("当前关卡ID" + this.getGuanqiaID());
  };
  _ctor.prototype.getGuanqiaID = function () {
    return +$zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.GuanqiaID) || 0;
  };
  _ctor.prototype.setGuanqiaData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.GuanqiaData, JSON.stringify(t));
  };
  _ctor.prototype.getGuanqiaData = function () {
    return JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.GuanqiaData) || null);
  };
  _ctor.prototype.getpassNumber = function () {
    return +$zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.passNumber) || 0;
  };
  _ctor.prototype.setpassNumber = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.passNumber, t);
    cc.log("过关次数" + this.getpassNumber());
  };
  _ctor.prototype.setStoreData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.Pukepai, JSON.stringify(t));
  };
  _ctor.prototype.getStoreData = function () {
    return JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.Pukepai) || null);
  };
  _ctor.prototype.setUserData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.UserData, JSON.stringify(t));
  };
  _ctor.prototype.getUserData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.UserData) || null);
    t || (t = {
      city: "",
      level: 1,
      maxLevel: 1
    });
    return t;
  };
  _ctor.prototype.getCheckScene = function () {
    return $zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.CheckScene || null);
  };
  _ctor.prototype.setCheckScene = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.CheckScene, t);
  };
  _ctor.prototype.setStoreMajiang2Data = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.Majiang2, JSON.stringify(t));
  };
  _ctor.prototype.getStoreMajiang2Data = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.Majiang2) || null);
    t || (t = {
      over: false
    });
    return t;
  };
  _ctor.prototype.getGuanqiaGameList = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.GuanqiaGameList) || null);
    t || (t = []);
    return t;
  };
  _ctor.prototype.setGuanqiaGameList = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.GuanqiaGameList, JSON.stringify(t));
  };
  _ctor.prototype.getZhuti = function () {
    return $zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.Zhuti) || 0;
  };
  _ctor.prototype.setZhuti = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.Zhuti, t);
  };
  _ctor.prototype.getZhutiBg = function () {
    return $zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.ZhutiBg) || 0;
  };
  _ctor.prototype.setZhutiBg = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.ZhutiBg, t);
  };
  _ctor.prototype.getZhutiData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.ZhutiData) || null);
    t || (t = []);
    return t;
  };
  _ctor.prototype.setZhutiData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.ZhutiData, JSON.stringify(t));
  };
  _ctor.prototype.getSignInList = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.SignInList) || null);
    t || (t = {
      one: false,
      list: [],
      lastTime: null
    });
    return t;
  };
  _ctor.prototype.setSignInList = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.SignInList, JSON.stringify(t));
  };
  _ctor.prototype.getTiyanGame = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.TiyanGame) || null);
    t || (t = []);
    return t;
  };
  _ctor.prototype.setTiyanGame = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.TiyanGame, JSON.stringify(t));
  };
  _ctor.prototype.setPaiduiData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.PaiduiData, JSON.stringify(t));
  };
  _ctor.prototype.getPaiduiData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.PaiduiData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setXianyuData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.XianyuData, JSON.stringify(t));
  };
  _ctor.prototype.getXianyuData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.XianyuData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setLiushuiData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.LiushuiData, JSON.stringify(t));
  };
  _ctor.prototype.getLiushuiData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.LiushuiData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.getNowScene = function () {
    return $zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.NowScene) || 0;
  };
  _ctor.prototype.setNowScene = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.NowScene, t);
  };
  _ctor.prototype.getSettingData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.SettingData) || null);
    t || (t = [false, true, true, true, true, 0]);
    return t;
  };
  _ctor.prototype.setSettingData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.SettingData, JSON.stringify(t));
  };
  _ctor.prototype.setPeiduiData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.PeiduiData, JSON.stringify(t));
  };
  _ctor.prototype.getPeiduiData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.PeiduiData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setHuahuaData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.HuahuaData, JSON.stringify(t));
  };
  _ctor.prototype.getHuahuaData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.HuahuaData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setDaxiguaData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.DaxiguaData, JSON.stringify(t));
  };
  _ctor.prototype.getDaxiguaData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.DaxiguaData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setDaxiguaMapData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.DaxiguaMapData, JSON.stringify(t));
  };
  _ctor.prototype.getDaxiguaMapData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.DaxiguaMapData) || null);
    t || (t = {});
    return t;
  };
  _ctor.prototype.setDaxiguaData2 = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.DaxiguaData2, JSON.stringify(t));
  };
  _ctor.prototype.getDaxiguaData2 = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.DaxiguaData2) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setDaxiguaMapData2 = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.DaxiguaMapData2, JSON.stringify(t));
  };
  _ctor.prototype.getDaxiguaMapData2 = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.DaxiguaMapData2) || null);
    t || (t = {});
    return t;
  };
  _ctor.prototype.setDaxiguaData3 = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.DaxiguaData3, JSON.stringify(t));
  };
  _ctor.prototype.getDaxiguaData3 = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.DaxiguaData3) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setDaxiguaMapData3 = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.DaxiguaMapData3, JSON.stringify(t));
  };
  _ctor.prototype.getDaxiguaMapData3 = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.DaxiguaMapData3) || null);
    t || (t = {});
    return t;
  };
  _ctor.prototype.setDaxiguaData4 = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.DaxiguaData4, JSON.stringify(t));
  };
  _ctor.prototype.getDaxiguaData4 = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.DaxiguaData4) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setDaxiguaMapData4 = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.DaxiguaMapData4, JSON.stringify(t));
  };
  _ctor.prototype.getDaxiguaMapData4 = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.DaxiguaMapData4) || null);
    t || (t = {});
    return t;
  };
  _ctor.prototype.setFanpaiData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.FanpaiData, JSON.stringify(t));
  };
  _ctor.prototype.getFanpaiData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.FanpaiData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setFanKuaiData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.FanKuaiData, JSON.stringify(t));
  };
  _ctor.prototype.getFanKuaiData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.FanKuaiData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setTiantiData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.TiantiData, JSON.stringify(t));
  };
  _ctor.prototype.getTiantiData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.TiantiData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setFandabingData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.Fandabing, JSON.stringify(t));
  };
  _ctor.prototype.getFandabingData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.Fandabing) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.prototype.setFeibiaoData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.FeibiaoData, JSON.stringify(t));
  };
  _ctor.prototype.getFeibiaoData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.FeibiaoData) || null);
    t || (t = {
      level: 0,
      selectedPainting: 0
    });
    return t;
  };
  _ctor.prototype.getSelectedPainting = function () {
    var t = $zqcc_OverallSystem.sers().userSrv.getFeibiaoData().selectedPainting;
    (!t || t < 0) && (t = 0);
    t > s.default.ROPE_MAX_LEVEL && (t = s.default.ROPE_MAX_LEVEL);
    return t;
  };
  _ctor.prototype.getTujianData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.TujianData) || null);
    t || (t = []);
    return t;
  };
  _ctor.prototype.setTujianData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.TujianData, JSON.stringify(t));
  };
  _ctor.prototype.getMianfeidaojuData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.MianfeidaojuData) || null);
    t || (t = {
      cishu: 1
    });
    return t;
  };
  _ctor.prototype.setMianfeidaojuData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.MianfeidaojuData, JSON.stringify(t));
  };
  _ctor.prototype.getQiqiupifu = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.Qiqiupifu) || null);
    t || (t = {
      leixing: "biaoqing",
      index: 1
    });
    return t;
  };
  _ctor.prototype.setQiqiupifu = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.Qiqiupifu, JSON.stringify(t));
  };
  _ctor.prototype.setTiaozhanData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.TiaozhanData, JSON.stringify(t));
  };
  _ctor.prototype.getTiaozhanData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.TiaozhanData) || null);
    t || (t = {
      level: 1,
      xunhuan: 1,
      qiqiu: [],
      nextqiqiu: [],
      cao: [],
      top: [],
      scene: []
    });
    return t;
  };
  _ctor.prototype.setLockDaeData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.LockDaeData, JSON.stringify(t));
  };
  _ctor.prototype.getLockDaeData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.LockDaeData) || null);
    t || (t = []);
    return t;
  };
  _ctor.prototype.setLockDaeDayData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.LockDaeDayData, JSON.stringify(t));
  };
  _ctor.prototype.getLockDaeDayData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.LockDaeDayData) || null);
    t || (t = {
      date: null,
      number: 3
    });
    return t;
  };
  _ctor.prototype.setSheqiqiuData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.SheqiqiuData, JSON.stringify(t));
  };
  _ctor.prototype.getSheqiqiuData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.SheqiqiuData) || null);
    t || (t = {
      level: 0
    });
    return t;
  };
  _ctor.prototype.setWawajiData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.WawajiData, JSON.stringify(t));
  };
  _ctor.prototype.getWawajiData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.WawajiData) || null);
    t || (t = {
      level: 1,
      select: 1,
      number: 3,
      date: null
    });
    return t;
  };
  _ctor.prototype.setZumaData = function (t) {
    $zqcc_OverallSystem.sers().localStorageSrv.set(_ctor.ZumaData, JSON.stringify(t));
  };
  _ctor.prototype.getZumaData = function () {
    var t = JSON.parse($zqcc_OverallSystem.sers().localStorageSrv.get(_ctor.ZumaData) || null);
    t || (t = {
      level: 1
    });
    return t;
  };
  _ctor.infinityPowerDate = "inifinity-power-date";
  _ctor.infinityPowerModel = "inifinity-power-model";
  _ctor.changwanModel = "changwan-model";
  _ctor.changwanModelDate = "changwan-model-date";
  _ctor.nowLevel = "nowLevel";
  _ctor.gameId = "gameId";
  _ctor.getGameList = "getGameList";
  _ctor.GameLevelData = "GameLevelData";
  _ctor.GuanqiaID = "GuanqiaID";
  _ctor.GuanqiaData = "GuanqiaData";
  _ctor.passNumber = "passNumber";
  _ctor.passlevelDate = "passlevelDate";
  _ctor.Pukepai = "PukepaiData";
  _ctor.UserData = "UserData";
  _ctor.CheckScene = "CheckScene";
  _ctor.Majiang2 = "Majiang2";
  _ctor.GuanqiaGameList = "GuanqiaGameList";
  _ctor.Zhuti = "Zhuti";
  _ctor.ZhutiBg = "ZhutiBg";
  _ctor.ZhutiData = "ZhutiData";
  _ctor.SignInList = "SignInList";
  _ctor.TiyanGame = "TiyanGame";
  _ctor.PaiduiData = "PaiduiData";
  _ctor.LiushuiData = "LiushuiData";
  _ctor.NowScene = "NowScene";
  _ctor.SettingData = "SettingData";
  _ctor.PeiduiData = "PeiduiData";
  _ctor.HuahuaData = "HuahuaData";
  _ctor.DaxiguaData = "DaxiguaData";
  _ctor.FanpaiData = "FanpaiData";
  _ctor.DaxiguaMapData = "DaxiguaMapData";
  _ctor.DaxiguaData2 = "DaxiguaData2";
  _ctor.DaxiguaMapData2 = "DaxiguaMapData2";
  _ctor.TiantiData = "TiantiData";
  _ctor.DaxiguaData3 = "DaxiguaData3";
  _ctor.DaxiguaMapData3 = "DaxiguaMapData3";
  _ctor.DaxiguaData4 = "DaxiguaData4";
  _ctor.DaxiguaMapData4 = "DaxiguaMapData4";
  _ctor.Fandabing = "Fandabing";
  _ctor.FandabingMap = "FandabingMap";
  _ctor.XianyuData = "XianyuData";
  _ctor.FanKuaiData = "FanKuaiData";
  _ctor.TujianData = "TujianData";
  _ctor.FeibiaoData = "FeibiaoData";
  _ctor.MianfeidaojuData = "MianfeidaojuData";
  _ctor.Qiqiupifu = "Qiqiupifu";
  _ctor.TiaozhanData = "TiaozhanData";
  _ctor.LockDaeData = "LockDaeData";
  _ctor.SheqiqiuData = "SheqiqiuData";
  _ctor.LockDaeDayData = "LockDaeDayData";
  _ctor.WawajiData = "WawajiData";
  _ctor.ZumaData = "ZumaData";
  _ctor.maxLevel = 10;
  _ctor.gameLevel = [10, 1];
  _ctor.zs_level_switch = null;
  _ctor.guanqia = null;
  _ctor.unlockCnt = 0;
  _ctor.IPAD = false;
  _ctor.daren = false;
  _ctor.level = 1;
  _ctor.vivoSDKdata = null;
  _ctor.levelNumber = 0;
  return _ctor;
}(c.default.zqcc_ServiceBase);
exports.default = def_userService;